﻿@{
    ViewBag.Title = "电话找回密码第三步";
    ViewBag.Page = "user";
    ViewBag.Menu = "step3";
    Layout = "~/Views/Shared/_FindPasswordLayout.cshtml";
}

@section HeadJavaScript{
    <script type="text/javascript" src="/Scripts/angular/base/angular.min.js"></script>
    <!--[if (IE 6)|(IE 7)]><script type="text/javascript" src="/Scripts/angular/base/json2.js"></script><![endif]-->
    <script type="text/javascript" src="/Scripts/angular/js/getpassword.js"></script>
    <script type="text/javascript" src="/Scripts/angular/base/angular.autoload.js"></script>
}
<div class="pos"><img src="~/images/images/pay_dian.jpg" /> <a href="#">会员中心</a> - 取回密码账户</div>
<div class="form1" style="background:none;">
            	
    <p class="tishi">通过绑定手机找回</p>
     @{
       if(@ViewData["mobile"]!=null){
           <form class="form1 st_form" name="form" on-submit="submit()" onsubmit="return false;" ng-controller="Ctrl" 
                ng-init="load({
                    verifyvalue: { msg:'请输入手机验证码',error: '请正确填写验证码',success:true,phoneno:'@ViewData["mobile"]'}
                    ,submit:{verifycode:'验证码错误',user:'防沉迷信息错误',email:'安全邮箱错误',identity:'系统繁忙，请稍候再试',account:'账号信息错误',error:'系统异常，请联系我们'}
                });
                submit.url='/account/PasswordPhone/@ViewData["code"]';
                redirect.url='/usercenter/step4/r/Default/';
               ">
        <table class="tab1" width="720">
            <tr>
                <td width="115"><span class="txtr">手机验证码：</span> </td>
                <td width="270">
                    <input type="text" class=" text270" name="verifyvalue" ng-init="verifyvalue.input()" on-focus="verifyvalue.input()" on-blur="verifyvalue.validate();" ng-model="verifyvalue.value" ng-pattern="verifyvalue.pattern" required/>
				     
                </td>
                <td>
                       <span class="error" ng-show="verifyvalue.error" style="display:none;">{{verifyvalue.error}}</span>
				       <span ng-show="!verifyvalue.error&&!verifyvalue.success&&verifyvalue.msg" ng-bind-template="{{verifyvalue.msg}}">请在申请后5分钟内输入您手机所收到的验证码</span>
                </td>
            </tr>
            <tr>
                <td></td>
                <td colspan="2">
                    <div style="display:none;" ng-hide="verifycode.status">
				        <a ng-click="verifycode.newsms()"><img src="~/images/images/sjyzm.jpg"/></a><span class="ml10">每5分钟可重新获取一次验证码</span>
				    </div>
				    <div style="display:none;" ng-show="verifycode.status">
				        <a class="waiting"><img src="/images/time2_30.gif"/></a><span class="wait_ri mt030 ml10" ng-show="verifycode.success" style="display:none;">验证码已经发送，1分钟可重新获取一次验证码</span><span class="red ml10 mt030" ng-hide="verifycode.success" style="display:none;">对不起，您获取短信验证码过快，请稍后再获取</span>
				    </div>
                </td>
            </tr>
            <tr style="display:none" ng-show="submit.error">
                <td></td>
                <td colspan="2">
                    <span class="error" >{{submit.error}}</span>
                </td>
            </tr>   
            <tr>
                <td></td>
                <td align="center">
                    <div style="height:50px; margin-top:15px;"><input type="submit" value="" class="find_xyb" /></div>
                </td>
                <td></td>
            </tr>
        </table>
        </form>
         }else{
            
                    <div class="form1" style="background:none;"><p style="margin:40px 0 0 0;" class="tc c999">该账号的手机未绑定，本次找回密码方式不可用</p></div>
         }
        }
                
</div>
